package com.mdd.car.params.vehicle;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 车辆参数
 * @author LikeAdmin
 */
@Data
@ApiModel("车辆更新参数")
public class VehicleUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "id参数必传且需大于0")
    @ApiModelProperty(value = "车辆编号")
    private Long id;

    @ApiModelProperty(value = "车俩编码")
    private String vehicleNo;

    @ApiModelProperty(value = "租户号")
    private String tenantId;

    @NotNull(message = "storeId参数缺失")
    @ApiModelProperty(value = "店铺编号")
    private Integer storeId;

    @NotNull(message = "color参数缺失")
    @ApiModelProperty(value = "车辆颜色")
    private Long color;

    @NotNull(message = "engineNumber参数缺失")
    @ApiModelProperty(value = "发动机编号")
    private String engineNumber;

    @NotNull(message = "operationType参数缺失")
    @ApiModelProperty(value = "运营类型;运营状态：1、自运营2、代运营")
    private Integer operationType;

    @ApiModelProperty(value = "车型名称")
    private String vehicleName;

    @NotNull(message = "licensePlate参数缺失")
    @ApiModelProperty(value = "车牌")
    private String licensePlate;

    @NotNull(message = "rentalStatus参数缺失")
    @ApiModelProperty(value = "租赁状态;租赁状态：0、待租赁1、已租赁")
    private Long rentalStatus;

    @NotNull(message = "vehicleStatus参数缺失")
    @ApiModelProperty(value = "车辆状态;车辆状态：0、正常1、维修中2、保养中")
    private Long vehicleStatus;

    @ApiModelProperty(value = "车辆来源")
    private String vehicleSrc;

    @NotNull(message = "vin参数缺失")
    @ApiModelProperty(value = "车架号")
    private String vin;

    @NotNull(message = "vehicleType参数缺失")
    @ApiModelProperty(value = "车辆类型")
    private Long vehicleType;

    @NotNull(message = "productId参数缺失")
    @ApiModelProperty(value = "车品id")
    private Long productId;

    @NotNull(message = "skuId参数缺失")
    @ApiModelProperty(value = "skuId")
    private Long skuId;
}
